package com.wyz.socket.core.api;

import java.io.Closeable;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;

public interface Scheduler extends Closeable {

    ScheduledFuture<?> scheduler (Runnable runnable , long delay , TimeUnit unit) ;

    void execute(Runnable runnable) ;
}
